home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / util / cdity / ModeProSrc.lha / Prefs / Revision_Data < prev    next >
Text File  |  2000-09-17  |  22KB  |  444 lines

  1. ----------------------------------------------------------------------------------------------------
  2. (4.56.1) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
  3. Description: TAG_DONE was missing
  4. ...
  5.                           WA_PubScreen        ,Scr,//                                                  (1.0.1)
  6.                           TAG_DONE  ))
  7. ...
  8.  
  9. ----------------------------------------------------------------------------------------------------
  10. (4.56.2) - Work:sc/Programs/ModePro/Prefs/MPPReadArgs.c
  11. Description: Moved dir locking code from GetArgs() to CleanupArgs()
  12.              Fixes dir changing problem when launched from shell
  13. ...
  14.       CurrentDir(olock);//                                                                             (4.56.2)
  15.       UnLock(lock);
  16. ...
  17.  
  18. ----------------------------------------------------------------------------------------------------
  19. (4.57.1) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
  20. Description: Now invlaid modeid's won't set depth to 1, instead gives full depth range 1..32
  21. ...
  22.           if(GetDisplayInfoData(NULL,(UBYTE *)&di,sizeof(di),DTAG_DIMS,n->ModeID)>0)//                 (4.57.1)
  23.           {//                                                                                          (4.57.1)
  24.             maxdepth=di.MaxDepth;//                                                                    (4.57.1)
  25.           }//                                                                                          (4.57.1)
  26.           else//                                                                                       (4.57.1)
  27.           {//                                                                                          (4.57.1)
  28.             maxdepth=32;//                                                                             (4.57.1)
  29.           }//                                                                                          (4.57.1)
  30.           n->Depth=min(n->Depth,maxdepth);//                                                           (4.57.1)
  31.           
  32. ...
  33.  
  34. ----------------------------------------------------------------------------------------------------
  35. (4.57.2) - Work:sc/Programs/ModePro/Prefs/MPPGadgets.c
  36. Description: Best Mode option
  37. ...
  38.   (STRPTR) MSG_G_PROMOTE_BEST_MODE, // <----------
  39. ...
  40.  
  41. ----------------------------------------------------------------------------------------------------
  42. (4.57.3) - Work:sc/Programs/ModePro/Prefs/MPP_PI.c
  43. Description: Was mistakenly MPSEM_PLIST_MAX
  44. ...
  45.   maxmode=MS_PROMOTE_MAX;
  46. ...
  47.  
  48. ----------------------------------------------------------------------------------------------------
  49. (4.57.4) - Work:sc/Programs/ModePro/Prefs/MPPMonitorList.c
  50. Description: Create the "Any Monitor"
  51. ...
  52.   if(mn=CreateMonitorNode(MONITOR_ID_MASK))//                                                          (4.57.4)
  53.   { //                                                                                                 (4.57.4)
  54.     AddHead(List,(struct Node *)mn);      //                                                           (4.57.4)
  55.   }  
  56. ...
  57.  
  58. ----------------------------------------------------------------------------------------------------
  59. (4.57.5) - Work:sc/Programs/ModePro/Prefs/MPPMonitorList.c
  60. Description: Create the "Any Monitor"
  61. ...
  62.     if(id & MONITOR_ID_MASK == MONITOR_ID_MASK)//                                                      (4.57.5)
  63.     {//                                                                                                (4.57.5)
  64.       if(mn->mn_Node.ln_NAme=CopyString(GetString(MSG_ANY_MONITOR),MEMF_PUBLIC))//                     (4.57.5)
  65.       {//                                                                                              (4.57.5)
  66.         return(mn);//                                                                                  (4.57.5)
  67.       }//                                                                                              (4.57.5)
  68.     }
  69. ...
  70.  
  71. ----------------------------------------------------------------------------------------------------
  72. (4.57.6) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
  73. Description: Replaced code with call to GetMonitorName()
  74. ...
  75.           GetMonitorName(n->ModeID,ModeName,32);//                                                     (4.57.6)
  76.           /*{//                                                                                        (4.57.6)
  77.             struct MonitorInfo mi;//                                                                   (4.57.6)
  78.              if(GetDisplayInfoData(NULL,(UBYTE *)&mi,sizeof(struct MonitorInfo),DTAG_MNTR,n->ModeID)>0)//  (4.57.6)
  79.               if(mi.Mspc)//                                                                            (4.57.6)
  80.                 if(mi.Mspc->ms_Node.xln_Name)//                                                        (4.57.6)
  81.                   strncpy(ModeName,mi.Mspc->ms_Node.xln_Name,32);//                                    (4.57.6)
  82.           }*/
  83. ...
  84.  
  85. ----------------------------------------------------------------------------------------------------
  86. (4.57.7) - Work:sc/Programs/ModePro/Prefs/MPPScreenModeNames.c
  87. Description: Added "Any Monitor" to GetMonitorName()
  88. ...
  89.   if(DisplayID & MONITOR_ID_MASK == MONITOR_ID_MASK)//                                                 (4.57.7)
  90.   { // if DisplayID = INVALID_ID//                                                                     (4.57.7)
  91.     strncpy(Buffer,GetString(MSG_ANY_MONITOR),BufferLen);//                                            (4.57.7)
  92.     BufferLen--;//                                                                                     (4.57.7)
  93.     Buffer[BufferLen]=0;//                                                                             (4.57.7)
  94.     rv=strlen(Buffer);//                                                                               (4.57.7)
  95.   }
  96. ...
  97.  
  98. ----------------------------------------------------------------------------------------------------
  99. (4.57.8) - Work:sc/Programs/ModePro/Prefs/MPPMonitorList.c
  100. Description: Replaced this function code with one that calls GetMonitorName()
  101. ...
  102. struct ModeNode *CreateMonitorNode(ULONG ID)
  103. ...
  104.  
  105. ----------------------------------------------------------------------------------------------------
  106. (4.57.9) - Work:sc/Programs/ModePro/Prefs/MPP_Init.c
  107. Description: Added if() in FixScreenModeNames to prevent edited entries in the ScreenModeList from
  108.              having it's name changed.
  109. ...
  110.     if(dn->OrigDisplayID!=0xffffffff))
  111. ...
  112.  
  113. ----------------------------------------------------------------------------------------------------
  114. (4.57.10) - Work:sc/Programs/ModePro/Prefs/MPNeuGadgets.c
  115. Description: Centered Screenmode name
  116. ...
  117.                                     GTTX_Justification,         GTJ_CENTER,
  118. ...
  119.  
  120. ----------------------------------------------------------------------------------------------------
  121. (4.57.11) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
  122. Description: New BestMode option
  123. ...
  124.         case MS_PROMOTE_BEST_MODE:  //                                                                 (4.57.11)
  125.           d1=d2=FALSE;//                                                                               (4.57.11)
  126.           width   =n->Width;//                                                                         (4.57.11)
  127.           height  =n->Height;//                                                                        (4.57.11)
  128.           GetMonitorName(n->ModeID,ModeName,32);//                                                     (4.57.11)
  129.           break;
  130. ...
  131.  
  132. ----------------------------------------------------------------------------------------------------
  133. (4.57.12) - Work:sc/Programs/ModePro/Prefs/MPP_PI.c
  134. Description:
  135. ...
  136.   if((N->ModeSelect==MS_PROMOTE_SCREENMODE || N->ModeSelect==MS_PROMOTE_REQUESTER || N->ModeSelect==MS_PROMOTE_BEST_MODE) && N->Flags & (DEPTH | DNF_PALETTE))
  137. ...
  138.  
  139. ----------------------------------------------------------------------------------------------------
  140. (4.57.13) - Work:sc/Programs/ModePro/Prefs/MPPGadgets.c
  141. Description:
  142. ...
  143.       if(DN->Flags & (DEPTH | DNF_PALETTE) && (DN->ModeSelect==MS_PROMOTE_SCREENMODE || DN->ModeSelect==MS_PROMOTE_REQUESTER || DN->ModeSelect==MS_PROMOTE_BEST_MODE))
  144. ...
  145.  
  146. ----------------------------------------------------------------------------------------------------
  147. (4.57.14) - Work:sc/Programs/ModePro/Prefs/MPP_PI.c
  148. Description:
  149. ...
  150.     case MS_PROMOTE_BEST_MODE://                                                                       (4.57.14)
  151.       SelectMonitor(N);//                                                                              (4.57.14)
  152.       break;
  153. ...
  154.  
  155. ----------------------------------------------------------------------------------------------------
  156. (4.57.15) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
  157. Description:
  158. ...
  159.       if(n->ModeSelect==MS_PROMOTE_BEST_MODE)//                                                        (4.57.15)
  160.       {//                                                                                              (4.57.15)
  161.         discheck=FALSE;//                                                                              (4.57.15)
  162.         if(n->Flags & (DEPTH | DNF_PALETTE))//                                                         (4.57.15)
  163.         {//                                                                                            (4.57.15)
  164.           disslide  = FALSE;//                                                                         (4.57.15)
  165.           maxdepth  = 32;//                                                                            (4.57.15)
  166.           n->Depth  = min(n->Depth,maxdepth);//                                                        (4.57.15)
  167.           checked   = n->Flags & DEPTH;//                                                              (4.57.15)
  168.         }                     //                                                                       (4.57.15)
  169.       }
  170. ...
  171.  
  172. ----------------------------------------------------------------------------------------------------
  173. (4.57.16) - Work:sc/Programs/ModePro/Prefs/MPPGadgets.c
  174. Description:
  175. ...
  176.   160 ,(STRPTR)MSG_G_PROMOTE_BEST_MODE, // <----------
  177. ...
  178.  
  179. ----------------------------------------------------------------------------------------------------
  180. (4.57.17) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
  181. Description:
  182. ...
  183.             maxdepth=min(di.MaxDepth,32);// Can only handle upto 32bit                                 (4.57.1)
  184. ...
  185.  
  186. ----------------------------------------------------------------------------------------------------
  187. (4.57.18) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
  188. Description:
  189. ...
  190.             maxdepth=DepthToSlider[32];//                                                                             (4.57.1)
  191. ...
  192.  
  193. ----------------------------------------------------------------------------------------------------
  194. (4.57.19) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
  195. Description:
  196. ...
  197.       depth=DepthToSlider[n->Depth];
  198. ...
  199.  
  200. ----------------------------------------------------------------------------------------------------
  201. (4.57.20) - Work:sc/Programs/ModePro/Prefs/MPP_PI.c
  202. Description:
  203. ...
  204.         maxdepth=DepthToSlider[min(di.MaxDepth,32)];
  205. ...
  206.  
  207. ----------------------------------------------------------------------------------------------------
  208. (4.57.21) - Work:sc/Programs/ModePro/Prefs/MPP_PI.c
  209. Description:
  210. ...
  211.     N->Depth=SliderToDepth[Depth];
  212. ...
  213.  
  214. ----------------------------------------------------------------------------------------------------
  215. (4.57.22) - Work:sc/Programs/ModePro/Prefs/MPPGadgets.c
  216. Description:
  217. ...
  218.         SetAPen(Win->RPort,DrawInfo->dri_Pens[TEXTPEN]);//                                             (4.57.22)
  219.         SetDrMd(Win->RPort,JAM1);//                                                                    (4.57.22)
  220.         RenderText(Win->RPort, ColorStrings[DepthToSlider[DN->Depth]],//                               (4.57.22)
  221.                     RT_XPos         , ColorDisp.RightEdge,//                                           (4.57.22)
  222.                     RT_Baseline     , ColorDisp.Baseline,//                                            (4.57.22)
  223.                     RT_MaxWidth     , ColorDisp.Width,//                                               (4.57.22)
  224.                     RT_Justification, RTJ_RIGHT,//                                                     (4.57.22)
  225.                     RT_TextLength   , &ColorDisp.PrevWidth,//                                          (4.57.22)
  226.                     TAG_DONE); 
  227. ...
  228.  
  229. ----------------------------------------------------------------------------------------------------
  230. (4.58.1) - Work:sc/Programs/ModePro/Prefs/MPPUpdateGads.c
  231. Description: Should have been commented out in 4.57
  232. ...
  233. //          n->ModeSelect==MS_PROMOTE_BEST_MODE)
  234. ...
  235.  
  236. ----------------------------------------------------------------------------------------------------
  237. (4.61.1) - Work:sc/Programs/ModePro/Prefs/PaletteReq.c
  238. Description: Was 0, caused screen trashing on Cgx with superlayers
  239. ...
  240.               WA_Width,         1,//                                                                   (4.61.1)
  241.               WA_Height,        1,
  242. ...
  243.  
  244. ----------------------------------------------------------------------------------------------------
  245. (4.61.2) - Work:sc/Programs/ModePro/Prefs/PaletteReq.c
  246. Description: remeber where window closed
  247. ...
  248.         PReq->pr_WinLeft  =PReq->pr_Window->LeftEdge;//                                                (4.61.2)
  249.         PReq->pr_WinTop   =PReq->pr_Window->TopEdge;
  250. ...
  251.  
  252. ----------------------------------------------------------------------------------------------------
  253. (4.61.3) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
  254. Description: now releases semaphore
  255. ...
  256.           ReleaseSemphore(&MPSem->SharedSem);
  257. ...
  258.  
  259. ----------------------------------------------------------------------------------------------------
  260. (4.61.4) - Work:sc/Programs/ModePro/Prefs/MPPReadArgs.c
  261. Description: Can now read tooltypes if renamed
  262. ...
  263.         char pname[256];//                                                                             (4.61.4)
  264.         //                                                                                             (4.61.4)
  265.         if(GetProgramName(pname,256))//                                                                (4.61.4)
  266.         {//                                                                                            (4.61.4)
  267.           if(lock=DupLock(GetProgramDir()))//                                                          (4.61.4)
  268.           {//                                                                                          (4.61.4)
  269.             OldDirLock=CurrentDir(lock);//                                                             (4.61.4)
  270.             if(MPIcon=GetDiskObject(pname))//                                                          (4.61.4)
  271.             {
  272. ...
  273.  
  274. ----------------------------------------------------------------------------------------------------
  275. (4.62.1) - Work:sc/Programs/ModePro/Prefs/MPP_ProcessInput.c
  276. Description: Moved code
  277. ...
  278.       case M_ENABLED://                                                                                (4.61.5)//  (4.62.1)
  279.         MPSem->Enabled=(mi->Flags & CHECKED ? 1:0);//                                                  (4.61.5)
  280. ...
  281.  
  282. ----------------------------------------------------------------------------------------------------
  283. (4.62.2) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
  284. Description: Below
  285. ...
  286.                       MPSem->PrefsToDoPort.mp_SigBit  =ForcedSig;
  287. ...
  288.  
  289. ----------------------------------------------------------------------------------------------------
  290. (4.62.3) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
  291. Description: Renamed ForcedEditPort to PrefsToDoPort
  292. ...
  293.                       MPSem->PrefsToDoPort.mp_SigBit  =ForcedSig;//                                    (4.62.3)
  294.                       MPSem->PrefsToDoPort.mp_SigTask =FindTask(0);//                                  (4.62.3)
  295.                       MPSem->PrefsToDoPort.mp_Flags   =PA_SIGNAL;
  296. ...
  297.  
  298. ----------------------------------------------------------------------------------------------------
  299. (4.62.4) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
  300. Description: Above
  301. ...
  302.                       ForcedEditMsg=(struct MPMessage *)GetMsg(&MPSem->PrefsToDoPort);
  303. ...
  304.  
  305. ----------------------------------------------------------------------------------------------------
  306. (4.62.5) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
  307. Description: Above
  308. ...
  309.                       MPSem->PrefsToDoPort.mp_SigBit  =255;//                                          (4.62.5)
  310.                       MPSem->PrefsToDoPort.mp_SigTask =0;//                                            (4.62.5)
  311.                       MPSem->PrefsToDoPort.mp_Flags   =PA_IGNORE;
  312. ...
  313.  
  314. ----------------------------------------------------------------------------------------------------
  315. (4.62.6) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
  316. Description: Above
  317. ...
  318.                         while(msg=GetMsg(&MPSem->PrefsToDoPort))
  319. ...
  320.  
  321. ----------------------------------------------------------------------------------------------------
  322. (4.62.7) - Work:sc/Programs/ModePro/Prefs/MPP_PI.c
  323. Description: Above
  324. ...
  325.   if(!(ForcedEditMsg=(struct MPMessage *)GetMsg(&MPSem->PrefsToDoPort)))
  326. ...
  327.  
  328. ----------------------------------------------------------------------------------------------------
  329. (4.62.8) - Work:sc/Programs/ModePro/Prefs/MPP_ProcessInput.c
  330. Description: Above
  331. ...
  332.         if(ForcedEditMsg=(struct MPMessage *)GetMsg(&MPSem->PrefsToDoPort));
  333. ...
  334.  
  335. ----------------------------------------------------------------------------------------------------
  336. (4.62.9) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
  337. Description: 
  338. ...
  339. //          SetMPSem();
  340. ...
  341.  
  342. ----------------------------------------------------------------------------------------------------
  343. (4.62.10) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
  344. Description:
  345. ...
  346.               SetMPSem();
  347. ...
  348.  
  349. ----------------------------------------------------------------------------------------------------
  350. (4.63.1) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
  351. Description: Moved these lines to after the if(OpenDiskFont()
  352. ...
  353.         dispid=GetVPModeID(&(gs->ViewPort));//                                                         (4.63.1)
  354.         UnlockPubScreen(0,gs);//                                                                       (4.63.1)
  355.         gs=0;      //                                                                                  (4.63.1)
  356.         GetGUIScale(TAttr,GText,&XScale,&YScale);
  357. ...
  358.  
  359. ----------------------------------------------------------------------------------------------------
  360. (4.63.2) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
  361. Description: Moved these to before if(OpenDiskFont())
  362. ...
  363.       UnlockPubScreen(0,gs);//                                                                       (4.63.1)//  (4.63.2)
  364.       gs=0;      //                                                                                  (4.63.1)
  365. ...
  366.  
  367. ----------------------------------------------------------------------------------------------------
  368. (4.63.3) - Work:sc/Programs/ModePro/Prefs/ModeProPrefs.c
  369. Description: Moved
  370. ...
  371.       dispid=GetVPModeID(&(gs->ViewPort));//                                                         (4.63.1)
  372. ...
  373.  
  374.  
  375. ----------------------------------------------------------------------------------------------------
  376. (4.64.1) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/ModeProPrefs.c
  377. Description: changed name to ex_
  378. ...
  379.   if(ex_OpenLibs(argc,//                                                                               (4.63.1) (09/17/00)
  380. ...
  381.  
  382. ----------------------------------------------------------------------------------------------------
  383. (4.64.2) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/ModeProPrefs.c
  384. Description: ex_
  385. ...
  386.     ex_CloseLibs(MP_Libs);
  387. ...
  388.  
  389. ----------------------------------------------------------------------------------------------------
  390. (4.64.3) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/MPPVer.c
  391. Description: new version system makes this obsolete
  392. ...
  393. /*UBYTE   Version[]   = "$VER: ModeProPrefs "MPVER" "__AMIGADATE__;*/
  394. ...
  395.  
  396. ----------------------------------------------------------------------------------------------------
  397. (4.64.4) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/PaletteReq.c
  398. Description: due to extras.lib changes 
  399. ...
  400.     slidernumlen=gui_MaxStrFontLen(PReq->pr_TextFont,4,'0','9');
  401. ...
  402.  
  403. ----------------------------------------------------------------------------------------------------
  404. (4.64.5) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/MPP3dLV.c
  405. Description: above
  406. ...
  407.       clen=gui_StrFontLen(font,c);
  408. ...
  409.  
  410. ----------------------------------------------------------------------------------------------------
  411. (4.64.6) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/MPP3dLV.c
  412. Description: same
  413. ...
  414.     dashlen=gui_StrFontLen(font,c);
  415. ...
  416.  
  417. ----------------------------------------------------------------------------------------------------
  418. (4.64.7) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/MPP3dLV.c
  419. Description: ditto
  420. ...
  421.     GhostRect(rp,Dm->lvdm_DrawInfo->dri_Pens[TEXTPEN],left,top,right,bottom);
  422. ...
  423.  
  424. ----------------------------------------------------------------------------------------------------
  425. (4.64.8) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/PaletteReq.c
  426. Description: yep
  427. ...
  428.     n=gui_StrLength(SL_TextFont     ,TF,
  429. ...
  430.  
  431. ----------------------------------------------------------------------------------------------------
  432. (4.64.9) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/PaletteReq.c
  433. Description: again
  434. ...
  435. #include "palettereq.h"
  436. ...
  437.  
  438. ----------------------------------------------------------------------------------------------------
  439. (4.64.10) (09/17/00) - Work:sc/Programs/ModePro/4.x/Prefs/PaletteReq.c
  440. Description: ^
  441. ...
  442. #include "palettereq.h"
  443. ...
  444.